package pet;

public class Dog{
    String name;//名字
    String varieties;//品种
    double weight;//体重
    public void eat(){
        System.out.println("干饭");
    }
    public void sleep(){
        System.out.println("睡觉");
    }
    public void show(){
        System.out.println("它的名字教叫:"+name+",品种是"+varieties+","+"体重为:"+weight);
    }
    final void catch_mice(){
        System.out.println("抓老鼠");
    }
}
